const constantRouterMap = [
    {
        path: '/goods',
        component: (resolve) => require(['@/views/goods/index.vue'], resolve),
        name: 'goods',
        meta: {
            title: '产品管理',
            icon: 'user',
            isCheck:false,
        },
        children: [
            {
                path: '/list',
                name: 'goods-list',
                component: (resolve) => require(['@/views/goods/good-list.vue'], resolve),
                meta: {
                    title: '产品列表',
                    isCheck:false,
                },
                children:[
                    {
                        path:'/list1',
                        name:'goods-list1',
                        component: (resolve) => require(['@/views/goods/good-list.vue'], resolve),
                        meta: {
                            title: '产品列表1',
                            isCheck:false,
                        },
                    },
                    {
                        path:'/list2',
                        name:'goods-list2',
                        component: (resolve) => require(['@/views/goods/good-list2.vue'], resolve),
                        meta: {
                            title: '产品列表2',
                            isCheck:false,
                        },
                    }

                ]
            },
            {
                path: '/classify',
                name: 'goods-classify',
                component: (resolve) => require(['@/views/goods/goods-classify.vue'], resolve),
                meta: {
                    title: '产品分类',
                    isCheck:false,
                },
            }
        ]
    },
    {
        path: '/system',
        component: (resolve) => require(['@/views/system-manage/index.vue'], resolve),
        name: 'system',
        meta: {
            title: '系统管理',
            icon: 'appstore',
            isCheck:false,
        },
        children: [
            {
                path: '/power',
                name: 'power',
                component: (resolve) => require(['@/views/system-manage/power.vue'], resolve),
                meta: {
                    title: '权限管理',
                    isCheck:false,
                }
            },
        ] 
    }
]
export default constantRouterMap